package com.sykj.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@TableName("plb")
public class Plb implements Serializable {
    @TableId(value="pid",type=IdType.AUTO)
	private int pid;
    private String pbt;
    private String ptj;
    private String pnr;    
    private String pdate;
    private int tid;
    private int uid;

    @TableField(exist=false)
    private String uname;//多表查询使用,plb表中没有该列,切记设置成false

    public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPbt() {
        return pbt;
    }

    public void setPbt(String pbt) {
        this.pbt = pbt;
    }

    public String getPtj() {
        return ptj;
    }

    public void setPtj(String ptj) {
        this.ptj = ptj;
    }

    public String getPnr() {
        return pnr;
    }

    public void setPnr(String pnr) {
        this.pnr = pnr;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

	@Override
	public String toString() {
		return "Plb [pid=" + pid + ", pbt=" + pbt + ", ptj=" + ptj + ", pnr=" + pnr + ", pdate=" + pdate + ", tid="
				+ tid + ", uid=" + uid + ", uname=" + uname + "]";
	}

    
}
